<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TrabalhodeSistemasOperacionais: Referência da Classe AgenciaDcc</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TrabalhodeSistemasOperacionais&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;Principal</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;Componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;Componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Métodos Públicos</a> &#124;
<a href="#pub-attribs">Atributos Públicos</a>  </div>
  <div class="headertitle">
<h1>Referência da Classe AgenciaDcc</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AgenciaDcc" -->
<p><code>#include &lt;<a class="el" href="agenciadcc_8h_source.html">agenciadcc.h</a>&gt;</code></p>

<p><a href="classAgenciaDcc-members.html">Lista de todos os Membros.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a5b5fdee53b0f8fc1f209c40dae844a65">AgenciaDcc</a> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a371e9122429cbec0cb9f538bd192dd24">startThreads</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Atributos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVector&lt; <a class="el" href="classThreadCaixa.html">ThreadCaixa</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#ae2e7aa083cfd5fa2c6c27255e724e036">vetorThreadsCaixas</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classThreadFilaTransacoes.html">ThreadFilaTransacoes</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a55d036e0cf6604013855c54e04e836d2">threadDafila</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QQueue&lt; <a class="el" href="classTransacao.html">Transacao</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a437ac42f8090f99d36047654713c5b7d">fila</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QQueue&lt; <a class="el" href="classTransacao.html">Transacao</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a375f987153b95fc1fc46e92af6a7f553">filaPrioritaria</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classControladorDeRecursos.html">ControladorDeRecursos</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAgenciaDcc.html#a2bbcc6bad08428a9603f5c35446e6dbf">controladorDeRecursos</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição Detalhada</h2>
<div class="textblock"><p>Classe que representa a agencia principal chamada agencia dcc. </p>
</div><hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="a5b5fdee53b0f8fc1f209c40dae844a65"></a><!-- doxytag: member="AgenciaDcc::AgenciaDcc" ref="a5b5fdee53b0f8fc1f209c40dae844a65" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AgenciaDcc::AgenciaDcc </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a371e9122429cbec0cb9f538bd192dd24"></a><!-- doxytag: member="AgenciaDcc::startThreads" ref="a371e9122429cbec0cb9f538bd192dd24" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AgenciaDcc::startThreads </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Atributos</h2>
<a class="anchor" id="a2bbcc6bad08428a9603f5c35446e6dbf"></a><!-- doxytag: member="AgenciaDcc::controladorDeRecursos" ref="a2bbcc6bad08428a9603f5c35446e6dbf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classControladorDeRecursos.html">ControladorDeRecursos</a>* <a class="el" href="classAgenciaDcc.html#a2bbcc6bad08428a9603f5c35446e6dbf">AgenciaDcc::controladorDeRecursos</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Ponteiro para um controlador de recursos </p>

</div>
</div>
<a class="anchor" id="a437ac42f8090f99d36047654713c5b7d"></a><!-- doxytag: member="AgenciaDcc::fila" ref="a437ac42f8090f99d36047654713c5b7d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QQueue&lt;<a class="el" href="classTransacao.html">Transacao</a>&gt;* <a class="el" href="classAgenciaDcc.html#a437ac42f8090f99d36047654713c5b7d">AgenciaDcc::fila</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fila para todos os pedidos de transação. </p>

</div>
</div>
<a class="anchor" id="a375f987153b95fc1fc46e92af6a7f553"></a><!-- doxytag: member="AgenciaDcc::filaPrioritaria" ref="a375f987153b95fc1fc46e92af6a7f553" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QQueue&lt;<a class="el" href="classTransacao.html">Transacao</a>&gt;* <a class="el" href="classAgenciaDcc.html#a375f987153b95fc1fc46e92af6a7f553">AgenciaDcc::filaPrioritaria</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fila para as transações que aguardam liberação de recursos. </p>

</div>
</div>
<a class="anchor" id="a55d036e0cf6604013855c54e04e836d2"></a><!-- doxytag: member="AgenciaDcc::threadDafila" ref="a55d036e0cf6604013855c54e04e836d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classThreadFilaTransacoes.html">ThreadFilaTransacoes</a>* <a class="el" href="classAgenciaDcc.html#a55d036e0cf6604013855c54e04e836d2">AgenciaDcc::threadDafila</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Thread que irá inserir as transações que estão em um txt , na fila </p>

</div>
</div>
<a class="anchor" id="ae2e7aa083cfd5fa2c6c27255e724e036"></a><!-- doxytag: member="AgenciaDcc::vetorThreadsCaixas" ref="ae2e7aa083cfd5fa2c6c27255e724e036" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVector&lt;<a class="el" href="classThreadCaixa.html">ThreadCaixa</a>*&gt;* <a class="el" href="classAgenciaDcc.html#ae2e7aa083cfd5fa2c6c27255e724e036">AgenciaDcc::vetorThreadsCaixas</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vetor de threads (uma para cada caixa) </p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes arquivos:<ul>
<li><a class="el" href="agenciadcc_8h_source.html">agenciadcc.h</a></li>
<li><a class="el" href="agenciadcc_8cpp.html">agenciadcc.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Terça, 6 de Dezembro de 2011 01:44:55 para TrabalhodeSistemasOperacionais por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
